// 修改邮箱
import React, { Component } from 'react';
import {
    View,
    Text,
    TextInput,
    TouchableOpacity,
} from 'react-native';


import { info_echangeStyle as styles } from '../../../../../../styles';

var Dimensions = require('Dimensions');
var width = Dimensions.get('window').width;          //获取屏幕宽度
var height = Dimensions.get('window').height;



export default class Revise_body extends Component {

    render() {
        return (
            <View style={styles.repcenter}>
                <Text style={styles.reptext}>修改邮箱后，可用修改后的邮箱直接登录</Text>
                <Text style={styles.reptext}>当前邮箱：<Text style={{ color: '#fc6866' }}>122354325@qq.com</Text>
                </Text>

                {/* <TextInput style={[styles.repinput, { width: width * 0.9 }]} underlineColorAndroid="transparent"
                    placeholder="请输入先知的登录密码" /> */}

                <TextInput style={[styles.repinput, { width: width * 0.9 }]} underlineColorAndroid="transparent"
                    placeholder="请输入新邮箱" />

                <View style={styles.reph}>
                    <TextInput style={[styles.repinput, { width: width * 0.6 }]} underlineColorAndroid="transparent"
                        placeholder="请输入邮箱验证码" />

                    <TouchableOpacity style={styles.repbout} activeOpacity={1}>
                        <Text style={[styles.repbutton, { width: width * 0.28 }]}>发送验证码</Text>
                    </TouchableOpacity>

                </View>

                <TouchableOpacity style={styles.repbout2} activeOpacity={1}>
                    <Text style={[styles.repbutton, { width: width * 0.9 }]}>完成</Text>
                </TouchableOpacity>
            </View >
        )
    }
}